<link type="text/css" href="/admins/js/jquery/css/ui-lightness/transa.css" rel="stylesheet" />

<div style="background: #cccccc;width: 100%;height: 32px;">
     
            <a href="javascript:goback();" class="button" >
                  返回
            </a>
      
</div>
<?php
if($this->conse==1){
      echo "<script>alert('扫描信息成功！');document.getElementById('barcode2').value='';window.location.href='/admini/transation/print/count/'+{$this->id};</script>";
}
else if($this->conse==2){
      echo "<script>alert('扫描信息失败，请查看录入信息！')</script>";
}
?>
<form id="form1" runat="server" name="form1" action="/admini/transation/index" method="post"> 
      <div style=" border:1px solid #DDDDDD; padding:2px; margin:2px;line-height: 36px;" id='sel'> 
      
            <label for="quick">&nbsp;&nbsp;请输入公司名称：</label><select id="comname" name="comname">
                                    <?php foreach ($this->shipAll as $shipVal) { ?>
                                          <option value="<?php echo $shipVal->Id;?>"><?php echo $shipVal->Name;?></option>
                                    <?php }?>
                              </select>
    
</div>
           
                 
                  
                              <label for="barcode">
                                    <h3 style="font-size: 14px;">扫描订单号码</h3>
                              </label>
             
                        
                              <textarea name="barcode2" id="barcode2" cols="120" required="" rows="30"></textarea>
                       <br/>
              
                
                       <input class="button" id="button1" type="submit" value="确定" />
            
       

     
</form>
<script type="text/javascript">
      $(document).ready(function()
      {
            $('form').validate();
      $("#comname").change(function(){
      $("#barcode2").focus();
      });
      
      });
</script>